import { createRouter, createWebHistory, RouteRecordRaw } from "vue-router";

const routes: RouteRecordRaw[] = [
  {
    path: "/",
    redirect: "/login"
  },
  {
    path: "/login",
    name: "Login",
    component: () => import("@/views/login/Login.vue")
  }
];

const router = createRouter({
  strict: true,
  history: createWebHistory(),
  routes
});

export default router;
